package com.xzcf.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Item entity. @author MyEclipse Persistence Tools
 */

public class Item implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String howOld;
	private Integer floorPrice;
	private Integer rate;
	private String type;
	private String itemDesc;
	private String donorName;
	private Timestamp releaseTime;
	private String ownerName;
	private Timestamp endTime;
	private String status;
	private Set auctionRecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public Item() {
	}

	/** full constructor */
	public Item(String name, String howOld, Integer floorPrice, Integer rate,
			String type, String itemDesc, String donorName,
			Timestamp releaseTime, String ownerName, Timestamp endTime,
			String status, Set auctionRecords) {
		this.name = name;
		this.howOld = howOld;
		this.floorPrice = floorPrice;
		this.rate = rate;
		this.type = type;
		this.itemDesc = itemDesc;
		this.donorName = donorName;
		this.releaseTime = releaseTime;
		this.ownerName = ownerName;
		this.endTime = endTime;
		this.status = status;
		this.auctionRecords = auctionRecords;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHowOld() {
		return this.howOld;
	}

	public void setHowOld(String howOld) {
		this.howOld = howOld;
	}

	public Integer getFloorPrice() {
		return this.floorPrice;
	}

	public void setFloorPrice(Integer floorPrice) {
		this.floorPrice = floorPrice;
	}

	public Integer getRate() {
		return this.rate;
	}

	public void setRate(Integer rate) {
		this.rate = rate;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getItemDesc() {
		return this.itemDesc;
	}

	public void setItemDesc(String itemDesc) {
		this.itemDesc = itemDesc;
	}

	public String getDonorName() {
		return this.donorName;
	}

	public void setDonorName(String donorName) {
		this.donorName = donorName;
	}

	public Timestamp getReleaseTime() {
		return this.releaseTime;
	}

	public void setReleaseTime(Timestamp releaseTime) {
		this.releaseTime = releaseTime;
	}

	public String getOwnerName() {
		return this.ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public Timestamp getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getAuctionRecords() {
		return this.auctionRecords;
	}

	public void setAuctionRecords(Set auctionRecords) {
		this.auctionRecords = auctionRecords;
	}

}